import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { FavoriteController } from './favorite.controller'
import { FavoriteService } from './favorite.service'
import { FavoriteEntity } from './entities/favorite.entity'
import { AuthModule } from '../auth/auth.module'

@Module({
  imports: [TypeOrmModule.forFeature([FavoriteEntity]),
    AuthModule
  ],
  controllers: [FavoriteController],
  providers: [FavoriteService],
  exports: [FavoriteService],
})
export class FavoriteModule { }